home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 029a / pmandbl.zip / PMANDBL
Text File  |  1993-04-03  |  3KB  |  87 lines

  1. ┌───────────────────────────────────────────────────────────┐
  2. │       P o o r   M a n ' s   D i s k   D o u b l e r       │
  3. └───────────────────────────────────────────────────────────┘
  4.  
  5. How to utilize PKzip and a simple batch file as an automatic
  6. hard disk "doubler" to conserve disk space.  This method is
  7. not nearly as fast or efficient as a commercial disk
  8. "doubler", but is used in combination with PKzip, an
  9. excellent Shareware disk compression utility.  Users of PKzip
  10. should be registered with PKWARE, Inc.  The information
  11. contained in this file may be freely distributed.  If you
  12. consider yourself a novice, it may be wise to make a backup
  13. of your application before attempting to use Poor Man's Disk
  14. Doubler to assure that your files will not be lost.
  15.  
  16. The only requirements are:
  17.  
  18. 1. A word processor or other means to write a batch file in
  19.    ASCII code.
  20.  
  21. 2. The files pkzip.exe and zip2exe.exe must be located in a
  22.    directory in your autoexec.bat file path statement.
  23.  
  24. The following example uses your Menu program (optional) to
  25. decompress, run an application, delete the decompressed files
  26. and return to the Menu.
  27.  
  28. The application in this example will be called Card Game
  29. located in a directory C:\GAMES\CARD, which has a file called
  30. card.exe to execute the application.
  31.  
  32. 1. At the C:\GAMES\CARD dos prompt, create a zip file
  33.    cards.zip (the name of the zip file cannot be the same as
  34.    the exceptionable file name, in this example card.exe).
  35.    This is done by typing pkzip cards.
  36.  
  37. 2. Create a Self-Extracting file by typing zip2exe cards.
  38.  
  39. 3. Delete all files in the directory except cards.exe, the
  40.    Self-Extracting file you have just created.
  41.  
  42. 4. Make a subdirectory C:\GAMES\CARD\GO.
  43.  
  44. 5. Write a batch file go.bat as follows:
  45.  
  46.    copy *.* C:\GAMES\CARD\GO
  47.    CD\GAMES\CARD\GO
  48.    cards
  49.    card
  50.    del *.*
  51.    menu
  52.  
  53. 6. Save go.bat as an ASCII file.
  54.  
  55. 7. Copy go.bat to C:\GAMES\CARD
  56.  
  57. 8. Set up your Menu program (optional) to run go.bat when you
  58.    to play Card Game.  If you do not start applications from
  59.    a Menu program, delete the last line in go.bat.
  60.  
  61. 9. The batch file go.bat works as follows:
  62.  
  63.    copy *.* C:\GAMES\CARD\GO -- copies all files in
  64.                                 C:\GAMES\CARD to subdirectory
  65.                                 C:\GAMES\CARD\GO
  66.  
  67.    CD\GAMES\CARD\GO -- change directory to new subdirectory
  68.  
  69.    cards -- uncompresses the Self-Extracting file cards.exe
  70.  
  71.    card -- to run your application Card Game
  72.            (card.exe)
  73.  
  74.    del *.* -- after application is completed, deletes all
  75.               files in subdirectory \GO, the files cards.exe
  76.               and go.bat located in C:\GAMES\CARD remain
  77.               intact
  78.  
  79.    menu -- or applicable optional command to return to your
  80.            Menu program
  81.  
  82.  
  83. The file names and directories in go.bat may be modified for
  84. any application not critical to hard disk operation.  NEVER
  85. attempt to use Poor Man's Disk Doubler on any application
  86. which should not be compressed with PKzip, such as your root
  87. directory, DOS directory, etc.